package com.sunwayworld.basemodule.rm.materialsecondarylibrary.dao.impl;

import com.sunwayworld.framework.mybatis.mapper.MapperParameter;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

import com.sunwayworld.basemodule.rm.materialsecondarylibrary.bean.LimsMaterialSecondaryLibraryBean;
import com.sunwayworld.basemodule.rm.materialsecondarylibrary.dao.LimsMaterialSecondaryLibraryDao;
import com.sunwayworld.basemodule.rm.materialsecondarylibrary.mapper.LimsMaterialSecondaryLibraryMapper;
import com.sunwayworld.framework.mybatis.dao.MybatisDaoSupport;
import com.sunwayworld.framework.spring.annotation.GikamBean;

import java.util.List;
import java.util.Map;

@Repository
@GikamBean
public class LimsMaterialSecondaryLibraryDaoImpl extends MybatisDaoSupport<LimsMaterialSecondaryLibraryBean, Long> implements LimsMaterialSecondaryLibraryDao {

    @Autowired
    private LimsMaterialSecondaryLibraryMapper limsMaterialSecondaryLibraryMapper;

    @Override
    public LimsMaterialSecondaryLibraryMapper getMapper() {
        return limsMaterialSecondaryLibraryMapper;
    }

    @Override
    public List<Map<String, String>> getGroupTypeSelections(MapperParameter parameter) {
        return getMapper().getGroupTypeSelections(parameter);
    }
}
